Binary Translation: Static, Dynamic, Retargetable?
نویسندگان
چکیده
Cristina Cifuentes Department of Computer Science The University of Queensland Brisbane Qld 4072, Australia [email protected] Vishv Malhotra Department of Computer Science University of Tasmania Hobart Tas 7001, Australia [email protected] Abstract The porting of software to newer and faster machines using static binary translation techniques has proved successful to a large extent. Current binary translators are static in nature and require a runtime environment to successfully support the execution of the translated programs on the new machine. On the other hand, dynamic binary translation has not been considered as an alternative to static translation { we argue that these translators can achieve at least the same performance as static translators but will require a simpler runtime environment. This paper presents techniques used to migrate legacy software running on register-based machines of the last 10 to 15 years to modern RISC machines. We have developed a second-generation disassembler to aid in the construction of a retargetable binary translation front-end. Retargetability of binary translators is an issue that has not been addressed in present translators.
منابع مشابه
Experience in the Design, Implementation and Use ofa Retargetable Static Binary Translation Framework
Binary translation, the process of translating binary executables, makes it possible to run code compiled for source (input) machine Ms on target (output) machine Mt. Unlike an interpreter or emulator, a binary translator makes it possible to approach the speed of native code on machine Mt. Translated code may still run slower than native code because low-level properties of machine Ms must oft...
متن کاملThe Design of a Resourceable and Retargetable Binary Translator
Binary translation, the automatic translation of exe-cutable programs from one machine to another, requires analyses and transformations that could be used in a wide variety of tools intended to reverse engineer binary codes. Our approach to binary translation, which is designed to allow both source and target machines to be changed at low cost, is based on a combination of machine descriptions...
متن کاملSRL – A Simple Retargetable Loader
A loader is a systems program used by an operating system (OS) to load a binary executable file onto memory to execute it. The internal format of a binary executable file is called the binary-file format (BFF); this format is dependent on the OS and the particular computer architecture it runs on. Traditionally, when developing machine-code manipulation tools such as binary translators and disa...
متن کاملUQBT: Adaptive Binary Translation at Low Cost
ion Recovery from Binary Code,” Proc. European Conf. Software Maintenance and Reengineering, IEEE CS Press, Los Alamitos, Calif., 2000, pp.55-64. 4. D. Ung and C. Cifuentes, “SRL—A Simple Retargetable Loader,” Proc. Australian Software Eng. Conf., IEEE CS Press, Los Alamitos, Calif., 1997, pp. 60-69.
متن کاملA General Persistent Code Caching Framework for Dynamic Binary Translation (DBT)
Dynamic binary translation (DBT) translates binary code from one instruction set architecture (ISA) to another (same or different) ISA at runtime, which makes it very useful in many applications such as system virtualization, whole program analysis, system debugging, and system security. Many techniques have been proposed to improve the efficiency of DBT systems for long-running and loop-intens...
متن کامل